<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        p span {
            width: 25px;
            height: 32px;
            background-color: red;
            display: inline-block;

            background-image: url(./assets/jingling2.jpg);
        }

        .word {
            /* background-image: url(./assets/jingling2.jpg); */
            /* background-size: 80px 40px; */
            background-position: 0 0;
        }

        .excel {
            /* background-image: url(./assets/jingling2.jpg); */
            /* background-size: 80px 40px; */
            background-position: 0 -32px;
        }

        .ppt {
            /* background-image: url(./assets/jingling2.jpg); */
            background-position: -25px 0;
        }

        .pdf {
            /* background-image: url(./assets/jingling2.jpg); */
            background-position: -50px 0;
        }
    </style>
</head>

<body>
    <p><span class="word"></span>文档</p>
    <p><span class="excel"></span>excle文档</p>
    <p><span class="ppt"></span>ppt文档</p>
    <p><span class="pdf"></span>pdf文档</p>

</body>

</html>